#pragma once
class GRole;
class GTeam
{
public:
	GTeam(void);
	static GTeam& Inst();
	~GTeam(void);
	GRole*  GetLeftMember();
	GRole*  GetLocalMember();
	GRole*  GetRightMember();
	void	SetLeftMember(GRole* pMember);
	void	SetLocalMember(GRole* pMember);
	void	SetRightMember(GRole* pMember);
	void	RandomCard();
	DWORD GetTeamID();
	void	Draw(int w, int h);
private:
	DWORD	m_dwTeamID;
	GRole*	m_pMember[3];
	int		m_ThreeCard[3];
private:
	CRITICAL_SECTION m_cs;
};
